package com.tanjie.blackbean.auth.granter;

import com.tanjie.blackbean.pojo.auth.AuthParam;
import com.tanjie.blackbean.pojo.auth.AuthInfo;
import com.tanjie.blackbean.pojo.auth.GrantType;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author: tanjie
 * @date: 2022-04-24
 **/
@Slf4j
@Component
public class RefreshGranter extends AbstractTokenGranter {

    @Override
    public GrantType grantType() {
        return GrantType.REFRESH_TOKEN;
    }

    @Override
    public AuthInfo grant(AuthParam authParam) {
        return null;
    }

}

